MILKDROP_PRESET_VERSION=201 PSVERSION=2 PSVERSION_WARP=2 PSVERSION_COMP=2 [preset00] fRating=5.000000 fGammaAdj=2.700 fDecay=0.980 fVideoEchoZoom=1.000 fVideoEchoAlpha=1.000 nVideoEchoOrientation=0 nWaveMode=7 bAdditiveWaves=1 bWaveDots=0 bWaveThick=0 bModWaveAlphaByVolume=0 bMaximizeWaveColor=1 bTexWrap=0 bDarkenCenter=0 bRedBlueStereo=0 bBrighten=0 bDarken=0 bSolarize=0 bInvert=0 fWaveAlpha=1.000 fWaveScale=1.000 fWaveSmoothing=0.400 fWaveParam=-1.000 fModWaveAlphaStart=1.000 fModWaveAlphaEnd=1.000 fWarpAnimSpeed=0.000 fWarpScale=1.005 fZoomExponent=3.00000 fShader=20.000 zoom=1.00000 rot=0.00000 cx=0.500 cy=0.500 dx=0.00000 dy=0.00000 warp=0.00000 sx=1.00000 sy=1.00000 wave_r=0.650 wave_g=0.650 wave_b=0.650 wave_x=0.500 wave_y=0.500 ob_size=0.010 ob_r=0.000 ob_g=0.000 ob_b=0.000 ob_a=0.000 ib_size=0.010 ib_r=0.250 ib_g=0.250 ib_b=0.250 ib_a=0.000 nMotionVectorsX=1.000 nMotionVectorsY=1.000 mv_dx=0.000 mv_dy=0.000 mv_l=0.900 mv_r=1.000 mv_g=1.000 mv_b=1.000 mv_a=0.000 b1n=0.000 b2n=0.000 b3n=0.000 b1x=1.000 b2x=1.000 b3x=1.000 b1ed=0.250 wavecode_0_enabled=0 wavecode_0_samples=512 wavecode_0_sep=0 wavecode_0_bSpectrum=0 wavecode_0_bUseDots=0 wavecode_0_bDrawThick=0 wavecode_0_bAdditive=0 wavecode_0_scaling=1.00000 wavecode_0_smoothing=0.50000 wavecode_0_r=1.000 wavecode_0_g=1.000 wavecode_0_b=1.000 wavecode_0_a=1.000 wavecode_1_enabled=0 wavecode_1_samples=512 wavecode_1_sep=0 wavecode_1_bSpectrum=0 wavecode_1_bUseDots=0 wavecode_1_bDrawThick=0 wavecode_1_bAdditive=0 wavecode_1_scaling=1.00000 wavecode_1_smoothing=0.50000 wavecode_1_r=1.000 wavecode_1_g=1.000 wavecode_1_b=1.000 wavecode_1_a=1.000 wavecode_2_enabled=0 wavecode_2_samples=512 wavecode_2_sep=0 wavecode_2_bSpectrum=0 wavecode_2_bUseDots=0 wavecode_2_bDrawThick=0 wavecode_2_bAdditive=0 wavecode_2_scaling=1.00000 wavecode_2_smoothing=0.50000 wavecode_2_r=1.000 wavecode_2_g=1.000 wavecode_2_b=1.000 wavecode_2_a=1.000 wavecode_3_enabled=0 wavecode_3_samples=512 wavecode_3_sep=0 wavecode_3_bSpectrum=0 wavecode_3_bUseDots=0 wavecode_3_bDrawThick=0 wavecode_3_bAdditive=0 wavecode_3_scaling=1.00000 wavecode_3_smoothing=0.50000 wavecode_3_r=1.000 wavecode_3_g=1.000 wavecode_3_b=1.000 wavecode_3_a=1.000 shapecode_0_enabled=0 shapecode_0_sides=4 shapecode_0_additive=0 shapecode_0_thickOutline=0 shapecode_0_textured=0 shapecode_0_num_inst=1 shapecode_0_x=0.500 shapecode_0_y=0.500 shapecode_0_rad=0.10000 shapecode_0_ang=0.00000 shapecode_0_tex_ang=0.00000 shapecode_0_tex_zoom=1.00000 shapecode_0_r=1.000 shapecode_0_g=0.000 shapecode_0_b=0.000 shapecode_0_a=1.000 shapecode_0_r2=0.000 shapecode_0_g2=1.000 shapecode_0_b2=0.000 shapecode_0_a2=0.000 shapecode_0_border_r=1.000 shapecode_0_border_g=1.000 shapecode_0_border_b=1.000 shapecode_0_border_a=0.100 shapecode_1_enabled=0 shapecode_1_sides=4 shapecode_1_additive=0 shapecode_1_thickOutline=0 shapecode_1_textured=0 shapecode_1_num_inst=1 shapecode_1_x=0.500 shapecode_1_y=0.500 shapecode_1_rad=0.10000 shapecode_1_ang=0.00000 shapecode_1_tex_ang=0.00000 shapecode_1_tex_zoom=1.00000 shapecode_1_r=1.000 shapecode_1_g=0.000 shapecode_1_b=0.000 shapecode_1_a=1.000 shapecode_1_r2=0.000 shapecode_1_g2=1.000 shapecode_1_b2=0.000 shapecode_1_a2=0.000 shapecode_1_border_r=1.000 shapecode_1_border_g=1.000 shapecode_1_border_b=1.000 shapecode_1_border_a=0.100 shapecode_2_enabled=0 shapecode_2_sides=4 shapecode_2_additive=0 shapecode_2_thickOutline=0 shapecode_2_textured=0 shapecode_2_num_inst=1 shapecode_2_x=0.500 shapecode_2_y=0.500 shapecode_2_rad=0.10000 shapecode_2_ang=0.00000 shapecode_2_tex_ang=0.00000 shapecode_2_tex_zoom=1.00000 shapecode_2_r=1.000 shapecode_2_g=0.000 shapecode_2_b=0.000 shapecode_2_a=1.000 shapecode_2_r2=0.000 shapecode_2_g2=1.000 shapecode_2_b2=0.000 shapecode_2_a2=0.000 shapecode_2_border_r=1.000 shapecode_2_border_g=1.000 shapecode_2_border_b=1.000 shapecode_2_border_a=0.100 shapecode_3_enabled=0 shapecode_3_sides=4 shapecode_3_additive=0 shapecode_3_thickOutline=0 shapecode_3_textured=0 shapecode_3_num_inst=1 shapecode_3_x=0.500 shapecode_3_y=0.500 shapecode_3_rad=0.10000 shapecode_3_ang=0.00000 shapecode_3_tex_ang=0.00000 shapecode_3_tex_zoom=1.00000 shapecode_3_r=1.000 shapecode_3_g=0.000 shapecode_3_b=0.000 shapecode_3_a=1.000 shapecode_3_r2=0.000 shapecode_3_g2=1.000 shapecode_3_b2=0.000 shapecode_3_a2=0.000 shapecode_3_border_r=1.000 shapecode_3_border_g=1.000 shapecode_3_border_b=1.000 shapecode_3_border_a=0.100 per_frame_init_1=x1 = 0.1; per_frame_init_2=y1 = 0.1; per_frame_init_3= per_frame_init_4=x2 = 0.2; per_frame_init_5=y2 = 0.2; per_frame_init_6= per_frame_init_7=x3 = 0.3; per_frame_init_8=y3 = 0.3; per_frame_init_9= per_frame_init_10=x4 = 0.4; per_frame_init_11=y4 = 0.4; per_frame_init_12= per_frame_1=vol=treb*bass*mid; per_frame_2=zoom=pow(vol,0.5); per_frame_3=warp=pow(vol,2); per_frame_4=vol2=bassr*bass; per_frame_5=rot=pow(vol,2)*sin(time/10)*0.1; per_frame_6=fShader=vol; per_frame_7=monitor=treb1; per_frame_8= per_frame_9=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo per_frame_10=r = 0.04+ max(bass_att,treb_att)*0.01; per_frame_11=bounce = below(y1,r);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.94 + (r-y1)*0.1, vy1-0.0001*60/fps); per_frame_12=bounce = below(x1,r);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.94 + (r-x1)*0.1, vx1); per_frame_13=bounce = above(x1,1-r);vx1 = if(bounce, - abs(vx1)*0.94 + (1-r-x1)*0.04, vx1); per_frame_14=bounce = below(y2,r);y2 = y2 + vy2;vy2 = if(bounce,abs(vy2)*0.94+(r-y2)*.1, vy2-0.0001*60/fps); per_frame_15=bounce = below(x2,r);x2 = x2+ vx2;vx2 = if(bounce, abs(vx2)*0.94 + (r-x2)*0.1, vx2); per_frame_16=bounce = above(x2,1-r);vx2 = if(bounce, - abs(vx2)*0.94 + (1-r-x2)*0.1, vx2); per_frame_17=bounce = below(y3,r);y3 = y3 + vy3;vy3 = if(bounce,abs(vy3)*0.94+(r-y3)*.1, vy3-0.0001*60/fps); per_frame_18=bounce = below(x3,r);x3 = x3+ vx3;vx3 = if(bounce, abs(vx3)*0.94 + (r-x3)*0.1, vx3); per_frame_19=bounce = above(x3,1-r);vx3 = if(bounce, - abs(vx3)*0.94 + (1-r-x3)*0.1, vx3); per_frame_20=bounce = below(y4,r);y4 = y4 + vy4;vy4 = if(bounce,abs(vy4)*0.94+(r-y4)*.1, vy4-0.0001*60/fps); per_frame_21=bounce = below(x4,r);x4 = x4+ vx4;vx4 = if(bounce, abs(vx4)*0.94 + (r-x4)*0.1, vx4); per_frame_22=bounce = above(x4,1-r);vx4 = if(bounce, - abs(vx4)*0.94 + (1-r-x4)*0.1, vx4); per_frame_23=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r); per_frame_24=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent per_frame_25=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2); per_frame_26=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_27=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_28=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2); per_frame_29=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2); per_frame_30=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r); per_frame_31=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent per_frame_32=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3); per_frame_33=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_34=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_35=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); per_frame_36=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); per_frame_37=bounce = below( sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)), 2*r); per_frame_38=ref_ang = atan2(x3-x2,y3-y2)+asin(1); // common tangent per_frame_39=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx2,vy2);w2 = atan2(vx3,vy3); per_frame_40=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); per_frame_41=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); per_frame_42=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); per_frame_43=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); per_frame_44=bounce = below( sqrt( sqr(x1+vx1-x4-vx4) + sqr(y1+vy1-y4-vy4)), 2*r); per_frame_45=ref_ang = atan2(x4-x1,y4-y1)+asin(1); // common tangent per_frame_46=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx1,vy1);w2 = atan2(vx4,vy4); per_frame_47=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_48=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_49=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_50=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_51=bounce = below( sqrt( sqr(x2+vx2-x4-vx4) + sqr(y2+vy2-y4-vy4)), 2*r); per_frame_52=ref_ang = atan2(x4-x2,y4-y2)+asin(1); // common tangent per_frame_53=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx2,vy2);w2 = atan2(vx4,vy4); per_frame_54=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); per_frame_55=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); per_frame_56=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_57=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_58=bounce = below( sqrt( sqr(x3+vx3-x4-vx4) + sqr(y3+vy3-y4-vy4)), 2*r); per_frame_59=ref_ang = atan2(x4-x3,y4-y3)+asin(1); // common tangent per_frame_60=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx3,vy3);w2 = atan2(vx4,vy4); per_frame_61=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3); per_frame_62=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3); per_frame_63=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_64=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_65=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo per_frame_66=q1 = 0.5 - x1; per_frame_67=q2 = -0.5 + y1; per_frame_68=q3 = 0.5 - x2; per_frame_69=q4 = -0.5 + y2; per_frame_70=q5 = 0.5 - x3; per_frame_71=q6 = -0.5 + y3; per_frame_72=q7 = 0.5 - x4; per_frame_73=q8 = -0.5 + y4; per_frame_74=q9 = time*200; warp_1=`shader_body { warp_2=`ret = 0; warp_3=`} comp_1=`sampler sampler_fc_sunrise; comp_2=`float2 factorA, factorB, product; comp_3=`float2 numerator, denominator, fraction; comp_4=`shader_body comp_5=`{ comp_6=`float2 uvo = uv; comp_7=`uv = (uv-0.5); comp_8=`factorA = uv+ float2(q1,q2); comp_9=`factorB = float2(8,0); comp_10=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_11=`float2 uv1 = product; comp_12=`factorA = uv+ float2(q3,q4); comp_13=`factorB = float2(8,0); comp_14=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_15=`float2 uv2 = product; comp_16=`factorA = uv+ float2(q5,q6); comp_17=`factorB = float2(8,0); comp_18=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_19=`float2 uv3 = product; comp_20=`factorA = uv+ float2(q7,q8); comp_21=`factorB = float2(8,0); comp_22=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_23=`float2 uv4 = product; comp_24=`factorA = uv1; comp_25=`factorB = uv2; comp_26=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_27=`float2 uv12 = product; comp_28=`factorA = uv3; comp_29=`factorB = uv4; comp_30=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_31=`float2 uv34 = product; comp_32=`factorA = uv12; comp_33=`factorB = uv34; comp_34=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_35=`numerator = float2(1,0); comp_36=`denominator = product; comp_37=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part comp_38=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part comp_39=` (denominator.x*denominator.x + denominator.y*denominator.y); comp_40=`uv = fraction*2; comp_41=`uv = lerp(0.5 + (uvo-0.5)*2,uv+0.5,0.5); comp_42=`//uv = frac(uv); comp_43=` float2 bg = (uv-0.5)*texsize.xy; comp_44=` float bg1 = saturate((abs(bg.x)+abs(bg.y)+q9)%64-32); comp_45=` float bg2 = saturate((-abs(bg.x)-abs(bg.y)+q9)%64-32); comp_46=` float fnord; comp_47=` if(length(bg)> 0.25*texsize.y){ comp_48=` fnord = bg2; comp_49=` }else{ comp_50=` fnord = bg1; comp_51=` } comp_52=`ret = fnord; comp_53=`}